<?php /* Smarty version Smarty-3.0.7, created on 2014-09-26 17:20:31
         compiled from "/mnt/www/softpos/home/softpos/view/default/core/api/orderlist.tpl" */ ?>
<?php /*%%SmartyHeaderCode:161213729454252fdfe8d998-05327110%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'bd44adf71faed9310b45adf71c3e3582607e6937' => 
    array (
      0 => '/mnt/www/softpos/home/softpos/view/default/core/api/orderlist.tpl',
      1 => 1411714034,
      2 => 'file',
    ),
    '4156433901eb51af8205ddf039585d0517532d57' => 
    array (
      0 => '/mnt/www/softpos/home/softpos/view/default//layout/member/layout.tpl',
      1 => 1411633156,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '161213729454252fdfe8d998-05327110',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_block_php')) include '/mnt/www/softpos/library/template/Smarty/plugins/block.php.php';
?><!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $_smarty_tpl->getVariable('encoding')->value;?>
">
		<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
		<title><?php echo $_smarty_tpl->getVariable('site_name')->value;?>
</title>
		<meta http-equiv="cache-control" content="no-cache" />
		<!--[if lte IE 6]>
		<script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('template_url')->value;?>
resources/gzip.php?js=<?php echo $_smarty_tpl->getVariable('template_url')->value;?>
js/DD_belatedPNG.js"></script>
		<![endif]-->
		<meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
		<script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('url_base')->value;?>
common/js/gzip.php?js=<?php echo $_smarty_tpl->getVariable('url_base')->value;?>
common/js/ajax/jquery/jquery-1.7.2.min.js"></script>
	    <link rel="stylesheet" href="<?php echo $_smarty_tpl->getVariable('template_url')->value;?>
resources/gzip.php?css=<?php echo $_smarty_tpl->getVariable('template_url')->value;?>
resources/css/font-awesome-4.1.0/css/font-awesome.css">
	    <link rel="stylesheet" href="<?php echo $_smarty_tpl->getVariable('template_url')->value;?>
resources/gzip.php?css=<?php echo $_smarty_tpl->getVariable('template_url')->value;?>
resources/css/bootstrap-override.css">
		<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->getVariable('template_url')->value;?>
resources/gzip.php?css=<?php echo $_smarty_tpl->getVariable('template_url')->value;?>
resources/css/public.css">
		<script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('template_url')->value;?>
resources/gzip.php?js=<?php echo $_smarty_tpl->getVariable('template_url')->value;?>
js/public.js"></script>
		<?php echo (($tmp = @$_smarty_tpl->getVariable('viewObject')->value->css_ready)===null||$tmp==='' ? '' : $tmp);?>

		<?php echo (($tmp = @$_smarty_tpl->getVariable('viewObject')->value->js_ready)===null||$tmp==='' ? '' : $tmp);?>

	</head>
	<?php $_smarty_tpl->smarty->_tag_stack[] = array('php', array()); $_block_repeat=true; smarty_block_php(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
flush();<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_php(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>

	<body>
		<?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('templateDir')->value)."/layout/member/head.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
		
  <div class="container">
      <?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('templateDir')->value)."/layout/member/left.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
      <div class="main_rigth">
			<div class="main_cent">
				<div class="main_title">
					<div class="site_name"><?php echo $_smarty_tpl->getVariable('site_name')->value;?>
</div>
					<div class="cardno">卡号：<?php echo $_smarty_tpl->getVariable('cardno')->value;?>
</div>
				</div>
				<div class="main_from">
					<table>
					<?php if ($_smarty_tpl->getVariable('type')->value==1){?>
						<th>订单号</th>
						<th>储值消费</th>
						<th>现金消费</th>
						<th>网银支付</th>
						<th>积分支付</th>
						<th>电子券</th>
						<th>消费总额</th>
						<th>消费时间</th>
						<?php  $_smarty_tpl->tpl_vars['order'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['index'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('data')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['order']->key => $_smarty_tpl->tpl_vars['order']->value){
 $_smarty_tpl->tpl_vars['index']->value = $_smarty_tpl->tpl_vars['order']->key;
?>
						<tr>
							<td><?php echo $_smarty_tpl->getVariable('order')->value->order_id;?>
</td>
							<td><?php echo $_smarty_tpl->getVariable('order')->value->saving_sub;?>
</td>
							<td><?php echo $_smarty_tpl->getVariable('order')->value->cash;?>
</td>
							<td><?php echo $_smarty_tpl->getVariable('order')->value->bank_amount;?>
</td>
							<td><?php echo $_smarty_tpl->getVariable('order')->value->point_sub;?>
</td>
							<td><?php echo $_smarty_tpl->getVariable('order')->value->coupon_amount;?>
</td>
							<td>
							<?php echo $_smarty_tpl->getVariable('order')->value->saving_sub+$_smarty_tpl->getVariable('order')->value->cash+$_smarty_tpl->getVariable('order')->value->bank_amount+$_smarty_tpl->getVariable('order')->value->point_sub+$_smarty_tpl->getVariable('order')->value->coupon_amount;?>

							</td>
							<td><?php echo $_smarty_tpl->getVariable('order')->value->time;?>
</td>
						</tr>
						<?php }} ?>
					<?php }else{ ?>
						<th>订单号</th>
						<th>充值金额</th>
						<th>充值时间</th>
						<?php  $_smarty_tpl->tpl_vars['order'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['index'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('data')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['order']->key => $_smarty_tpl->tpl_vars['order']->value){
 $_smarty_tpl->tpl_vars['index']->value = $_smarty_tpl->tpl_vars['order']->key;
?>
						<tr>
							<td><?php echo $_smarty_tpl->getVariable('order')->value->order_id;?>
</td>
							<td><?php echo $_smarty_tpl->getVariable('order')->value->total;?>
</td>
							<td><?php echo $_smarty_tpl->getVariable('order')->value->time;?>
</td>
						</tr>
						<?php }} ?>

					<?php }?>
					</table>
				</div>
				<div class="main_bnt">

				</div>
			</div>
      </div>
  </div>

<!--[if lt IE 9]>
　　　　<script src="http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script>
<![endif]-->
		<?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('templateDir')->value)."/layout/member/foot.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
	</body>
</html>